Skip to content

Commit

Permalink
v0.9.0.dev2: minor corrections and cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
paulkorir committed Oct 3, 2023
1 parent 0f751a6 commit cc0bcf3
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 2 deletions.
2 changes: 1 addition & 1 deletion sfftk/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,4 @@

BASE_DIR = os.path.dirname(__file__)

SFFTK_VERSION = 'v0.9.0.dev1'
SFFTK_VERSION = 'v0.9.0.dev2'
2 changes: 1 addition & 1 deletion sfftk/core/parser.py
Original file line number Diff line number Diff line change
Expand Up @@ -428,7 +428,7 @@
starcrop_prep_parser = prep_subparsers.add_parser(
'starcrop',
description='Truncate a composite star file to the specified number of rows (default: 100)',
help='split a composite star file into individual star files',
help='truncate a star file to have as many rows as specified (exluding header)',
)
add_args(starcrop_prep_parser, config_path)
add_args(starcrop_prep_parser, shipped_configs)
Expand Down
2 changes: 2 additions & 0 deletions sfftk/unittests/test_readers.py
Original file line number Diff line number Diff line change
Expand Up @@ -583,7 +583,9 @@ def test_compute_affine_transforms(self):
star_reader = starreader.StarReader()
star_reader.parse(TEST_DATA_PATH / 'segmentations' / 'test_data4.star')
row = star_reader.tables['_rln'][0]
print(row)
transform_zyz = row.to_affine_transform() # default axes
print(transform_zyz)
psi = radians(30)
theta = radians(30)
phi = radians(30)
Expand Down

0 comments on commit cc0bcf3

Please sign in to comment.