monarch-initiative / genophenocorr

Genotype Phenotype Correlation
https://monarch-initiative.github.io/genophenocorr/stable
MIT License
4 stars 1 forks source link

adding dynamic versioning to package (thanks to DD for tip). This allows #33

Closed pnrobinson closed 10 months ago

pnrobinson commented 11 months ago

import genophenocorr genophenocorr.version '0.1.0'

This is useful to have in notebooks (print version right after the import statements), so that we know what version of gpc was used for any given analysis.

pnrobinson commented 11 months ago

Hmm, this worked locally for me, but here I am getting:

ValueError: invalid pyproject.toml config: `project.urls.dynamic`.
      configuration error: `project.urls.dynamic` must be string

I am not sure I understand where this is coming from -- @ielis could you take a glance at this? I do not see project.urls.dynamic" anywhere

pnrobinson commented 11 months ago

I found the error, it should be OK. Good thing we have CI! 😄