Skip to content

Commit

Permalink
minor fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
hanjinliu committed Dec 28, 2023
1 parent f1cdfd6 commit fcfe80e
Show file tree
Hide file tree
Showing 3 changed files with 25 additions and 3 deletions.
12 changes: 12 additions & 0 deletions cylindra/_data/BtubAB.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
{
"npf_range": [3, 5],
"spacing_range": [3.9, 4.3],
"twist_range": [-6.0, -1.0],
"rise_range": [5.0, 15.0],
"rise_sign": -1,
"clockwise": "MinusToPlus",
"thickness_inner": 2.0,
"thickness_outer": 3.0,
"fit_depth": 36,
"fit_width": 16
}
12 changes: 12 additions & 0 deletions cylindra/_data/actin.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
{
"npf_range": [2, 3],
"spacing_range": [5.0, 7.0],
"twist_range": [15.0, 40.0],
"rise_range": [10.0, 30.0],
"rise_sign": -1,
"clockwise": "MinusToPlus",
"thickness_inner": 1.5,
"thickness_outer": 2.0,
"fit_depth": 24,
"fit_width": 12
}
4 changes: 1 addition & 3 deletions tests/test_gui_0.py
Original file line number Diff line number Diff line change
Expand Up @@ -1114,9 +1114,7 @@ def test_spline_fitter(ui: CylindraMainWidget):
ui.spline_fitter._prev_num()
ui.spline_fitter.pos.value = 1
ui.spline_fitter.resample_volumes(30)
ui.spline_fitter.fit(
shifts=[[1.094, 0.797], [1.094, 0.797], [1.094, 0.698]], i=0, max_interval=50.0
)
ui.spline_fitter.fit(shifts=[[1.094, 0.797], [1.094, 0.797], [1.094, 0.698]], i=0)
ui.macro.undo()
ui.macro.redo()

Expand Down

0 comments on commit fcfe80e

Please sign in to comment.