Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

schism --version #50

Closed
brey opened this issue Nov 11, 2021 · 6 comments
Closed

schism --version #50

brey opened this issue Nov 11, 2021 · 6 comments
Labels
enhancement New feature or request

Comments

@brey
Copy link
Contributor

brey commented Nov 11, 2021

Due to changes in the output of headers to the local_to_global_0000* files between v5.8 & v5.9, in order to support both versions in pyPoseidon I need a way to easily determine the installed version of schism.

Is there a way to have the output of

schism --version

returning the version?

@josephzhang8
Copy link
Member

josephzhang8 commented Nov 11, 2021 via email

@brey
Copy link
Contributor Author

brey commented Nov 11, 2021

Thanks Joseph. If one clones the repo and builds locally this works.

However, if one builds from the zip/tar release files there is no local .git folder and the return is

❯ ./bin/pschism_TVD-VL -v
 
 schism develop
 git hash none

BTW, conda is using also the .gz files from the tag releases.

@josephzhang8
Copy link
Member

josephzhang8 commented Nov 11, 2021 via email

@josephzhang8
Copy link
Member

josephzhang8 commented Nov 11, 2021 via email

@brey
Copy link
Contributor Author

brey commented Nov 12, 2021

No worries. We have a workaround for now. This is more of a feature request.

@josephzhang8
Copy link
Member

Issue closed per @brey

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

3 participants