Closed Guillawme closed 5 months ago
Thanks for reporting this and opening a PR. We'll take a look.
Hello,
Bumping this because more people have started running into this issue.
I proposed a very simple fix in #178, a single line change to emit a version string in the form of x.y.z
. Until this is merged, people have to find and implement the workaround in a wrapper script, which is not very user-friendly.
Thank you in advance!
Hello,
Topaz used from within cryoSPARC used to work fine, and I don't know exactly in which version cryoSPARC changed (my topaz installation of version 0.2.5 has not changed), but now in cryoSPARC 4.3.1 I get the following error while trying to run a topaz job:
It seems that
semver.VersionInfo.isvalid()
returnsFalse
for any string that does not matchx.y.z
in whichx
,y
andz
are numbers. It rejectedTOPAZ 0.2.5a
and0.2.5a
, but not0.2.5
.My current workaround is to use the following wrapper script to trick cryoSPARC's version check into accepting to run topaz (this has worked just fine):
But this is not ideal, so I will shortly submit a PR addressing this, to make
topaz --version
print only anx.y.z
string.