Skip to content

Commit

Permalink
updates on repository
Browse files Browse the repository at this point in the history
  • Loading branch information
dominik-kopczynski committed Mar 20, 2024
1 parent fb0b0cf commit 665a4bd
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 3 deletions.
4 changes: 2 additions & 2 deletions makefile
Original file line number Diff line number Diff line change
Expand Up @@ -22,10 +22,10 @@ build:
python3 -m build --sdist

uploadtest:
python3 -m twine upload --repository testpypi dist/*
python3 -m twine upload --repository testpypi dist/* -u __token__ -p PERSONAL_TOKEN

upload:
python3 -m twine upload dist/*
python3 -m twine upload dist/* -u __token__ -p PERSONAL_TOKEN

# upload to pypi:
# distclean
Expand Down
5 changes: 5 additions & 0 deletions pygoslin/domain/HeadGroup.py
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,11 @@
class HeadGroup:
def __init__(self, headgroup, decorators = None, use_headgroup = False):
self.decorators = [d for d in decorators] if decorators != None else []
self.parsed_headgroup = get_class(headgroup)
if self.parsed_headgroup == UNDEFINED_LIPID_CLASS:
self.parsed_headgroup = headgroup
else:
self.parsed_headgroup = all_lipids[self.parsed_headgroup]["name"]

# checking if head group is a glyco-sphingolipid
hg = headgroup.strip(" ").lower()
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@

setup(
name = 'pygoslin',
version = '2.1.0',
version = '2.1.3',
url = 'https://github.com/lifs-tools/pygoslin',
license = 'MIT',
author = 'Dominik Kopczynski',
Expand Down

0 comments on commit 665a4bd

Please sign in to comment.