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

First steps of SBOL3 to SBOL2 conversion in Python #215

Merged
merged 8 commits into from
Oct 7, 2023

Conversation

jakebeal
Copy link
Contributor

@jakebeal jakebeal commented Oct 7, 2023

This pull request provides a framework for implementing SBOL3/SBOL2 conversion in Python, rather than via a call-out to JavaScript.

The current converters from SBOL2 to SBOL3 and from SBOL3 to SBOL2 are given an option that currently defaults to false, but when set to true will convert using the Python package instead of calling JavaScript.

I have provided a full stub-out of the SBOL3 to SBOL2 conversion, and have implemented conversion of the following classes:

  • Identified
  • TopLevel
  • Sequence
  • Activity (except for object references)
  • Component (except for object references)

@jakebeal jakebeal self-assigned this Oct 7, 2023
Copy link

@PrashantVaidyanathan PrashantVaidyanathan left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is a very useful starting point. Looks good to me.

@jakebeal jakebeal merged commit 6d59395 into develop Oct 7, 2023
16 checks passed
@jakebeal jakebeal deleted the native-sbol23-conversion branch October 7, 2023 17:57
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.

2 participants