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

Compatibility with latest version of PySB #13

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

acorbat
Copy link

@acorbat acorbat commented Mar 30, 2020

I merely swapped <> operator for | in order to recover compatibility with latest version of PySB. I only replaced this occurrences in the code, not replacing them in the comments as I find <> more visually appealing to describe chemical reactions.

@jmuhlich
Copy link
Member

@clopezx @johnbachman Looks good to me. How do you guys feel about leaving <> in the comments unchanged?

@clopezx
Copy link
Collaborator

clopezx commented Mar 30, 2020 via email

@acorbat
Copy link
Author

acorbat commented Mar 30, 2020

I thought the same as you @clopezx, that would make the code consistent and easier to understand for someone with programming background. On the other hand, I thought that someone coming from a chemical or biological background would find <> more suitable.

@clopezx
Copy link
Collaborator

clopezx commented Mar 30, 2020 via email

@jmuhlich
Copy link
Member

Another potential solution is changing the comments to use a syntax that's definitely not Python so the chance of confusion should be far lower. Maybe something like A + B <-> AB?

@alubbock
Copy link

Related: I added Python 3 support to the lolab-vu/earm fork back in 2018 in this commit: LoLab-MSM@9236b55

Happy to PR that if you like. I didn't change the documentation re: the issue above.

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.

4 participants