Previous changeset 101:e4ba5f1da6ef (2024-06-22) Next changeset 103:dc3fe98e7b37 (2024-06-22) |
Commit message:
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/jbrowse2 commit a1537aea75fc902d0e38c0b7c698830a939648b1-dirty |
modified:
__pycache__/jbrowse2.cpython-312.pyc jbrowse2.py |
b |
diff -r e4ba5f1da6ef -r 099370690407 __pycache__/jbrowse2.cpython-312.pyc |
b |
Binary file __pycache__/jbrowse2.cpython-312.pyc has changed |
b |
diff -r e4ba5f1da6ef -r 099370690407 jbrowse2.py --- a/jbrowse2.py Sat Jun 22 03:52:09 2024 +0000 +++ b/jbrowse2.py Sat Jun 22 05:48:30 2024 +0000 |
b |
@@ -1320,7 +1320,7 @@ https://github.com/abretaud/tools-iuc/blob/jbrowse2/tools/jbrowse2/jbrowse2.py """ # TODO using the default session for now, but check out session specs in the future https://github.com/GMOD/jbrowse-components/issues/2708 - bpPerPx = self.bpPerPx # Browser window width is unknown and apparently cannot be figured out in JB2 code so could be 200-2000+ pixels. + bpPerPx = self.bpPerPx # Browser window width is unknown and default session cannot be used to figure it out in JB2 code so could be 200-2000+ pixels. track_types = {} with open(self.config_json_file, "r") as config_file: config_json = json.load(config_file) @@ -1704,7 +1704,7 @@ ).text logging.debug("default_session=%s" % (json.dumps(default_session_data, indent=2))) jc.zipOut = root.find("metadata/general/zipOut").text == "true" - jc.bpPerPx = root.find("metadata/general/bpPerPx").text + jc.bpPerPx = int(root.find("metadata/general/bpPerPx").text) general_data = { "analytics": root.find("metadata/general/analytics").text, "primary_color": root.find("metadata/general/primary_color").text, |