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

C14 schema #1182

Draft
wants to merge 13 commits into
base: master
Choose a base branch
from
Draft

C14 schema #1182

wants to merge 13 commits into from

Conversation

jfy133
Copy link
Member

@jfy133 jfy133 commented Jul 23, 2024

This is a PoC for for adding a C14 schema

@jfy133 jfy133 added the WIP label Jul 23, 2024
@jfy133
Copy link
Member Author

jfy133 commented Jul 23, 2024

@maxibor @aidaanva @DianaSpurite

This is the schema draft I made, the issue that applies to all currently (which is a different issue that I had before) is:

## Ancient Metagenome Environmental
Traceback (most recent call last):
  File "/opt/hostedtoolcache/Python/3.9.19/x64/bin/AMDirT", line 5, in <module>
    from AMDirT.cli import cli
  File "/opt/hostedtoolcache/Python/3.9.19/x64/lib/python3.9/site-packages/AMDirT/cli.py", line 319, in <module>
    type=click.Choice(get_amdir_tags()),
    return cached_func(*args, **kwargs)
    return self._get_or_create_cached_value(args, kwargs)
    return self._handle_cache_miss(cache, value_key, func_args, func_kwargs)
    computed_value = self._info.func(*func_args, **func_kwargs)
  File "/opt/hostedtoolcache/Python/3.9.19/x64/lib/python3.9/site-packages/AMDirT/core/__init__.py", line 63, in get_amdir_tags
    return [
  File "/opt/hostedtoolcache/Python/3.9.19/x64/lib/python3.9/site-packages/AMDirT/core/__init__.py", line 66, in <listcomp>
    if version.parse(tag["name"]) >= version.parse("v22.09")
  File "/opt/hostedtoolcache/Python/3.9.19/x64/lib/python3.9/site-packages/packaging/version.py", line 56, in parse
    return Version(version)
  File "/opt/hostedtoolcache/Python/3.9.19/x64/lib/python3.9/site-packages/packaging/version.py", line 202, in __init__
    raise InvalidVersion(f"Invalid version: '{version}'")
packaging.version.InvalidVersion: Invalid version: 'latest'
# Radiocarbon Dates
## Ancient Single Genome Host Associated
Traceback (most recent call last):
  File "/opt/hostedtoolcache/Python/3.9.19/x64/bin/AMDirT", line 5, in <module>
    from AMDirT.cli import cli
  File "/opt/hostedtoolcache/Python/3.9.19/x64/lib/python3.9/site-packages/AMDirT/cli.py", line 319, in <module>
    type=click.Choice(get_amdir_tags()),
    return cached_func(*args, **kwargs)
    return self._get_or_create_cached_value(args, kwargs)
    return self._handle_cache_miss(cache, value_key, func_args, func_kwargs)
    computed_value = self._info.func(*func_args, **func_kwargs)
  File "/opt/hostedtoolcache/Python/3.9.19/x64/lib/python3.9/site-packages/AMDirT/core/__init__.py", line 63, in get_amdir_tags
    return [
  File "/opt/hostedtoolcache/Python/3.9.19/x64/lib/python3.9/site-packages/AMDirT/core/__init__.py", line 66, in <listcomp>
    if version.parse(tag["name"]) >= version.parse("v22.09")
  File "/opt/hostedtoolcache/Python/3.9.19/x64/lib/python3.9/site-packages/packaging/version.py", line 56, in parse
    return Version(version)
  File "/opt/hostedtoolcache/Python/3.9.19/x64/lib/python3.9/site-packages/packaging/version.py", line 202, in __init__
    raise InvalidVersion(f"Invalid version: '{version}'")
packaging.version.InvalidVersion: Invalid version: 'latest'

@jfy133 jfy133 force-pushed the master branch 3 times, most recently from 49ac494 to 62f90dc Compare October 5, 2024 04:40
@jfy133
Copy link
Member Author

jfy133 commented Dec 6, 2024

I just had a thought: we should replace the schema here so the columns align with the minas c14 extension (@aidaanva)

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

Successfully merging this pull request may close these issues.

1 participant