Skip to content

Commit

Permalink
rename back to lowercase for consistency and planemo
Browse files Browse the repository at this point in the history
  • Loading branch information
fubar2 committed Jan 8, 2024
1 parent cd77dff commit 4683ab7
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 10 deletions.
12 changes: 3 additions & 9 deletions tools/jbrowse2/jbrowse2.py
Original file line number Diff line number Diff line change
Expand Up @@ -451,9 +451,7 @@ def process_genomes(self):
assemblies.append(assem)
self.genome_names.append(genome_name)
if self.genome_name is None:
self.genome_name = (
genome_name # first one for all tracks - other than paf
)
self.genome_name = genome_name # first one for all tracks - other than paf
if self.config_json.get("assemblies", None):
self.config_json["assemblies"] += assemblies
else:
Expand Down Expand Up @@ -937,17 +935,13 @@ def add_paf(self, data, trackData, pafOpts, **kwargs):
tId = trackData["label"]
pgname = pafOpts["genome_label"]
if len(pgname.split() > 1):
pgname = pgname.split()[
0
] # trouble from spacey names in command lines avoidance
pgname = pgname.split()[0] # trouble from spacey names in command lines avoidance
asstrack, gname = self.make_assembly(pafOpts["genome"], pgname)
self.genome_names.append(pgname)
if self.config_json.get("assemblies", None):
self.config_json["assemblies"].append(asstrack)
else:
self.config_json["assemblies"] = [
asstrack,
]
self.config_json["assemblies"] = [asstrack,]

style_json = self._prepare_track_style(trackData)
url = "%s.paf" % (trackData["label"])
Expand Down
2 changes: 1 addition & 1 deletion tools/jbrowse2/jbrowse2.xml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<tool id="jbrowse2" name="JBrowse2" version="@TOOL_VERSION@+@WRAPPER_VERSION@" profile="22.05">
<tool id="jbrowse2" name="jbrowse2" version="@TOOL_VERSION@+@WRAPPER_VERSION@" profile="22.05">
<description>genome browser</description>
<macros>
<import>macros.xml</import>
Expand Down

0 comments on commit 4683ab7

Please sign in to comment.