Skip to content

Fix version check: C23 incompatible with current version check in pyCloudy#15

Open
jchowk wants to merge 3 commits intoMorisset:masterfrom
jchowk:fix_version_check
Open

Fix version check: C23 incompatible with current version check in pyCloudy#15
jchowk wants to merge 3 commits intoMorisset:masterfrom
jchowk:fix_version_check

Conversation

@jchowk
Copy link
Contributor

@jchowk jchowk commented Mar 17, 2024

Newer versions of Cloudy (I'm working from C23 grabbed via git) don't code the version number in the *.out files in the same way as prior versions. The git-downloaded version reports the branch and git status as in the following example:
Cloudy (master, 171a3cb5)

The fix I've implemented is unsatisfactory, as it doesn't grab the specific version (I'm not quite sure how they encode it yet). Instead it defaults to declaring the major version to 23.

Happy to help track down the versioning logic eventually, but don't have a lot of time for it right now.

jchowk added 3 commits March 14, 2024 17:28
The assumed structure of the output files no long allows for the same simple version checking. I've hardwired it to default to C23 when the old approach doesn't work.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant