Skip to content

Commit 46de752

Browse files
committed
Fixed version command
1 parent 1b848d0 commit 46de752

File tree

2 files changed

+15
-0
lines changed

2 files changed

+15
-0
lines changed

picachooser/scripts/PICAchooser.py

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -305,10 +305,13 @@ def makefiltercommand():
305305
# Non-aggressive denoising of the data using fsl_regfilt (partial regression), if requested
306306
if filteredfile is not None:
307307
if config["usebatch"]:
308+
print("using batch processing")
308309
denoisingcmd = ["sbatch", "--mem=8G", "--cpus-per-task=1", "--time=20"]
309310
else:
311+
print("using local processing")
310312
denoisingcmd = []
311313
if len(badlist) > 0:
314+
print("bad components: ", badlist)
312315
fslDir = os.path.join(os.environ["FSLDIR"], "bin")
313316
if fslDir is None:
314317
fslregfiltcmd = "fsl_regfilt"
@@ -326,13 +329,15 @@ def makefiltercommand():
326329
os.path.abspath(filteredfile),
327330
]
328331
else:
332+
print("no bad components")
329333
denoisingcmd += [
330334
"cp",
331335
os.path.abspath(Funcfile),
332336
os.path.abspath(filteredfile),
333337
]
334338
return denoisingcmd
335339
else:
340+
print("no filtered file")
336341
return None
337342

338343

@@ -1606,8 +1611,10 @@ def initconfig():
16061611

16071612
QtWidgets.QApplication.instance().exec()
16081613

1614+
16091615
def entrypoint():
16101616
main()
16111617

1618+
16121619
if __name__ == "__main__":
16131620
entrypoint()

setup.py

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
# Stub file to call setuptools.setup with versioneer hooks
2+
from setuptools import setup
3+
from versioneer import get_version, get_cmdclass
4+
5+
setup(
6+
version=get_version(),
7+
cmdclass=get_cmdclass(),
8+
)

0 commit comments

Comments
 (0)