Skip to content

Commit

Permalink
error message now complete
Browse files Browse the repository at this point in the history
  • Loading branch information
Jesse Sandberg committed Dec 10, 2024
1 parent db3a187 commit c4a1177
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions TCL/polarDensity_for_DTA.tcl
Original file line number Diff line number Diff line change
Expand Up @@ -335,8 +335,7 @@ proc frame_leaflet_assignment {species headname tailname lipidbeads_selstr frame
} elseif {$restrict_to_Rmax == 0} {
set sel [ atomselect top "(($species)) and $lipidbeads_selstr" frame $frame_i]
} else {
puts "restrict_leaflet_sorter_to_Rmax must be 1 or 0."
error
error "restrict_leaflet_sorter_to_Rmax must be 1 or 0"
}

set sel_num [llength [lsort -unique [$sel get resid] ] ]
Expand Down

0 comments on commit c4a1177

Please sign in to comment.