Mercurial > repos > ximgchess > chap_test_20230411
annotate tomo/tmp.txt @ 100:e7fd2e5b53ba draft
planemo upload for repository https://github.com/CHESSComputing/ChessAnalysisPipeline commit 01388c69776c82e48e84676a3d17d4623f5e08bd-dirty
author | ximgchess |
---|---|
date | Wed, 24 May 2023 16:05:52 +0000 |
parents | 99b91cd171fb |
children |
rev | line source |
---|---|
89
99b91cd171fb
planemo upload for repository https://github.com/CHESSComputing/ChessAnalysisPipeline commit bdda7b10cb14636169d6aadba4d2a78d1679be45
ximgchess
parents:
diff
changeset
|
1 try: |
99b91cd171fb
planemo upload for repository https://github.com/CHESSComputing/ChessAnalysisPipeline commit bdda7b10cb14636169d6aadba4d2a78d1679be45
ximgchess
parents:
diff
changeset
|
2 from pyspec.file.spec import FileSpec |
99b91cd171fb
planemo upload for repository https://github.com/CHESSComputing/ChessAnalysisPipeline commit bdda7b10cb14636169d6aadba4d2a78d1679be45
ximgchess
parents:
diff
changeset
|
3 from pyspec.file.tiff import TiffFile |
99b91cd171fb
planemo upload for repository https://github.com/CHESSComputing/ChessAnalysisPipeline commit bdda7b10cb14636169d6aadba4d2a78d1679be45
ximgchess
parents:
diff
changeset
|
4 except: |
99b91cd171fb
planemo upload for repository https://github.com/CHESSComputing/ChessAnalysisPipeline commit bdda7b10cb14636169d6aadba4d2a78d1679be45
ximgchess
parents:
diff
changeset
|
5 import sys |
99b91cd171fb
planemo upload for repository https://github.com/CHESSComputing/ChessAnalysisPipeline commit bdda7b10cb14636169d6aadba4d2a78d1679be45
ximgchess
parents:
diff
changeset
|
6 home = '/home/galaxy' |
99b91cd171fb
planemo upload for repository https://github.com/CHESSComputing/ChessAnalysisPipeline commit bdda7b10cb14636169d6aadba4d2a78d1679be45
ximgchess
parents:
diff
changeset
|
7 localpippath = f'{home}/.local/lib/python3.11/site-packages' |
99b91cd171fb
planemo upload for repository https://github.com/CHESSComputing/ChessAnalysisPipeline commit bdda7b10cb14636169d6aadba4d2a78d1679be45
ximgchess
parents:
diff
changeset
|
8 if localpippath not in sys.path: |
99b91cd171fb
planemo upload for repository https://github.com/CHESSComputing/ChessAnalysisPipeline commit bdda7b10cb14636169d6aadba4d2a78d1679be45
ximgchess
parents:
diff
changeset
|
9 sys.path.insert(0, localpippath) |
99b91cd171fb
planemo upload for repository https://github.com/CHESSComputing/ChessAnalysisPipeline commit bdda7b10cb14636169d6aadba4d2a78d1679be45
ximgchess
parents:
diff
changeset
|
10 from pyspec.file.spec import FileSpec |
99b91cd171fb
planemo upload for repository https://github.com/CHESSComputing/ChessAnalysisPipeline commit bdda7b10cb14636169d6aadba4d2a78d1679be45
ximgchess
parents:
diff
changeset
|
11 from pyspec.file.tiff import TiffFile |
99b91cd171fb
planemo upload for repository https://github.com/CHESSComputing/ChessAnalysisPipeline commit bdda7b10cb14636169d6aadba4d2a78d1679be45
ximgchess
parents:
diff
changeset
|
12 |
99b91cd171fb
planemo upload for repository https://github.com/CHESSComputing/ChessAnalysisPipeline commit bdda7b10cb14636169d6aadba4d2a78d1679be45
ximgchess
parents:
diff
changeset
|
13 |