Skip to content

Commit b279574

Browse files
AbdulkadirAashishsingh18
authored andcommitted
Set default output file to None
1 parent 77696ef commit b279574

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

NiBAx/NiBAxCmdApp.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ def LoadData(self, datafile):
3838
return self
3939

4040

41-
def Harmonize(self, harmonizationmodelfile,outputfile):
41+
def Harmonize(self, harmonizationmodelfile,outputfile=None):
4242

4343
print("Reading harmonization model")
4444
harmonizationmodel = self.dio.ReadPickleFile(harmonizationmodelfile)
@@ -57,7 +57,7 @@ def Harmonize(self, harmonizationmodelfile,outputfile):
5757
print("Done")
5858
return self
5959

60-
def ComputeSpares(self, sparesmodelfile, outputfile):
60+
def ComputeSpares(self, sparesmodelfile, outputfile=None):
6161

6262
print("reading spare model")
6363
sparemodel = {'BrainAge': None, 'AD': None}

0 commit comments

Comments
 (0)