Closed samuelgarcia closed 4 years ago
As requested by Sam version.txt
contains 'version' and 'date' fields. For example,
version = '5.6.9'
date = '2/6/2020'
The date is in MM/DD/YYYY format.
IronClust returns version and date by reading from version.txt
:
irc2 version
Hi James, this is totaly perfect. thank you. Sam
Hi James,
At the moment
python spikesorters.print_sorter_version()
givebut the version is har coded inside the class
this is a bad idea because if you change of version in IC and SF2 this is not tracked in spikesorters. I think the best option would to have a file version.m inside your code that would contain the version as a string:
This file could be parse on the fly and so the version would dynamic from source code.
What do you think ?
Best
Samuel