Mercurial > repos > rv43 > chess_tomo
comparison workflow/run_tomo.py @ 32:98eee43a8c8c draft
planemo upload for repository https://github.com/rolfverberg/galaxytools commit f8c4bdb31c20c468045ad5e6eb255a293244bc6c-dirty
| author | rv43 |
|---|---|
| date | Wed, 22 Mar 2023 12:56:22 +0000 |
| parents | 3342c0518d4c |
| children | 50923144fb56 |
comparison
equal
deleted
inserted
replaced
| 31:dd37989f425a | 32:98eee43a8c8c |
|---|---|
| 301 nxentry = nxroot[nxroot.attrs['default']] | 301 nxentry = nxroot[nxroot.attrs['default']] |
| 302 if not isinstance(nxentry, NXentry): | 302 if not isinstance(nxentry, NXentry): |
| 303 raise ValueError(f'Invalid nxentry ({nxentry})') | 303 raise ValueError(f'Invalid nxentry ({nxentry})') |
| 304 if center_rows is not None: | 304 if center_rows is not None: |
| 305 if self.galaxy_flag: | 305 if self.galaxy_flag: |
| 306 is not is_int_pair(center_rows, ge=-1): | 306 if not is_int_pair(center_rows, ge=-1): |
| 307 raise ValueError(f'Invalid parameter center_rows ({center_rows})') | 307 raise ValueError(f'Invalid parameter center_rows ({center_rows})') |
| 308 if (center_rows[0] != -1 and center_rows[1] != -1 and | 308 if (center_rows[0] != -1 and center_rows[1] != -1 and |
| 309 center_rows[0] > center_rows[1]): | 309 center_rows[0] > center_rows[1]): |
| 310 center_rows = (center_rows[1], center_rows[0]) | 310 center_rows = (center_rows[1], center_rows[0]) |
| 311 else: | 311 else: |
