Mercurial > repos > eduardo > annotateviz
comparison static/js/editgff.js @ 6:9a09f7072ed5 draft default tip
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/annotateviz commit 92d0101d8677f60a314611d325ca51a809a545d7-dirty
| author | eduardo |
|---|---|
| date | Tue, 27 Jun 2017 08:12:24 -0400 |
| parents | 92921dfea0b5 |
| children |
comparison
equal
deleted
inserted
replaced
| 5:9cc97d18dff1 | 6:9a09f7072ed5 |
|---|---|
| 20 if (jsonobj[i].featuretype == "three_prime_UTR") { | 20 if (jsonobj[i].featuretype == "three_prime_UTR") { |
| 21 jsonobj.splice(i,1); | 21 jsonobj.splice(i,1); |
| 22 console.log("removed lpart three_prime_UTR"); | 22 console.log("removed lpart three_prime_UTR"); |
| 23 } | 23 } |
| 24 else { | 24 else { |
| 25 jsonobj[i].attributes.Parent[0] = '.'.join(lpart,1); | 25 jsonobj[i].attributes.Parent[0] = lpart+'.1'; |
| 26 } | 26 } |
| 27 } | 27 } |
| 28 if (jsonobj[i].attributes.Parent[0] === rpart){ | 28 if (jsonobj[i].attributes.Parent[0] === rpart){ |
| 29 if (jsonobj[i].featuretype == "five_prime_UTR") { | 29 if (jsonobj[i].featuretype == "five_prime_UTR") { |
| 30 jsonobj.splice(i,1); | 30 jsonobj.splice(i,1); |
| 31 console.log("removed rpart five_prime_UTR"); | 31 console.log("removed rpart five_prime_UTR"); |
| 32 } | 32 } |
| 33 else { | 33 else { |
| 34 jsonobj[i].attributes.Parent[0] = '.'.join(lpart,1); | 34 jsonobj[i].attributes.Parent[0] = lpart+'.1' |
| 35 } | 35 } |
| 36 } | 36 } |
| 37 } | 37 } |
| 38 | 38 |
| 39 }; | 39 }; |
