Skip to content

Commit

Permalink
Restore display of derived_features
Browse files Browse the repository at this point in the history
  • Loading branch information
cmdcolin committed Oct 15, 2022
1 parent 3bbf659 commit b031dec
Show file tree
Hide file tree
Showing 5 changed files with 12 additions and 2 deletions.
2 changes: 1 addition & 1 deletion plugins/gff3/src/Gff3Adapter/Gff3Adapter.ts
Original file line number Diff line number Diff line change
Expand Up @@ -158,7 +158,7 @@ export default class extends BaseFeatureDataAdapter {

delete f.child_features
delete f.data
delete f.derived_features
// delete f.derived_features
delete f.attributes
delete f.seq_id
return f
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
exports[`adapter can fetch features from volvox.gff3 test getfeatures on gff plain text adapter 1`] = `
Array [
Object {
"derived_features": Array [],
"end": 6079,
"name": "ctgB",
"phase": 0,
Expand All @@ -14,6 +15,7 @@ Array [
"uniqueId": "test-offset-187",
},
Object {
"derived_features": Array [],
"end": 1984,
"name": "f07",
"note": "This is an example",
Expand All @@ -26,6 +28,7 @@ Array [
"uniqueId": "test-offset-188",
},
Object {
"derived_features": Array [],
"end": 6130,
"name": "f06",
"note": "This is another example",
Expand All @@ -38,6 +41,7 @@ Array [
"uniqueId": "test-offset-189",
},
Object {
"derived_features": Array [],
"end": 5968,
"name": "f05",
"note": "ああ、この機能は、世界中を旅しています!",
Expand Down
3 changes: 2 additions & 1 deletion plugins/gff3/src/Gff3TabixAdapter/Gff3TabixAdapter.ts
Original file line number Diff line number Diff line change
Expand Up @@ -247,10 +247,11 @@ export default class extends BaseFeatureDataAdapter {

delete f.child_features
delete f.data
delete f.derived_features
// delete f.derived_features
delete f._linehash
delete f.attributes
delete f.seq_id

return f
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
exports[`adapter can fetch features from volvox.gff3 test getfeatures on gff plain text adapter 1`] = `
Array [
Object {
"derived_features": Array [],
"end": 6079,
"name": "ctgB",
"phase": 0,
Expand All @@ -14,6 +15,7 @@ Array [
"uniqueId": "test-offset-794327",
},
Object {
"derived_features": Array [],
"end": 1984,
"name": "f07",
"note": "This is an example",
Expand All @@ -26,6 +28,7 @@ Array [
"uniqueId": "test-offset-794370",
},
Object {
"derived_features": Array [],
"end": 6130,
"name": "f06",
"note": "This is another example",
Expand All @@ -38,6 +41,7 @@ Array [
"uniqueId": "test-offset-794439",
},
Object {
"derived_features": Array [],
"end": 5968,
"name": "f05",
"note": "ああ、この機能は、世界中を旅しています!",
Expand Down
1 change: 1 addition & 0 deletions products/jbrowse-desktop/craco.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,7 @@ module.exports = {
// worker chunks xref
// https://github.com/webpack/webpack/issues/13791#issuecomment-897579223
config.output.publicPath = 'auto'
config.cache = false
return config
},
},
Expand Down

0 comments on commit b031dec

Please sign in to comment.