diff cpo_galaxy_tree.py @ 25:573136f142b6 draft

planemo upload
author jjjjia
date Wed, 29 Aug 2018 15:10:44 -0400
parents e5a7da2239af
children 3dc84625d22c
line wrap: on
line diff
--- a/cpo_galaxy_tree.py	Wed Aug 29 02:31:49 2018 -0400
+++ b/cpo_galaxy_tree.py	Wed Aug 29 15:10:44 2018 -0400
@@ -96,8 +96,8 @@
         self.MLSTScheme = "?"
         self.CarbapenemResistanceGenes ="?"
         self.plasmidBestMatch ="?"
-		self.plasmididentity =-1
-		self.plasmidsharedhashes ="?"
+        self.plasmididentity =-1
+        self.plasmidsharedhashes ="?"
         self.OtherAMRGenes="?"
         self.TotalPlasmids = -1
         self.plasmids = []
@@ -184,7 +184,7 @@
         _results.OtherAMRGenes = (str(r.loc[r.index[i], 'Other AMR Genes']))
         _results.TotalPlasmids = int(r.loc[r.index[i], 'Total Plasmids'])
         _results.plasmidBestMatch = str(r.loc[r.index[i], 'Plasmid Best Match'])
-		_results.plasmididentity = str(r.loc[r.index[i], 'Plasmid Identity'])
+        _results.plasmididentity = str(r.loc[r.index[i], 'Plasmid Identity'])
         _results.plasmidsharedhashes = float(r.loc[r.index[i], 'Plasmid Shared Hash'])
         for j in range(0,_results.TotalPlasmids):
             _plasmid = plasmidObj()