@jbrowse/plugin-config 1.5.8 → 1.6.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/plugin-config.cjs.development.js +10 -8
- package/dist/plugin-config.cjs.development.js.map +1 -1
- package/dist/plugin-config.cjs.production.min.js +1 -1
- package/dist/plugin-config.cjs.production.min.js.map +1 -1
- package/dist/plugin-config.esm.js +10 -8
- package/dist/plugin-config.esm.js.map +1 -1
- package/package.json +2 -2
- package/src/ConfigurationEditorWidget/components/__snapshots__/ConfigurationEditor.test.js.snap +39 -3
- package/src/RefNameAliasAdapter/RefNameAliasAdapter.ts +2 -1
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@jbrowse/plugin-config",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.6.2",
|
|
4
4
|
"description": "JBrowse 2 config utilities",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"jbrowse",
|
|
@@ -55,5 +55,5 @@
|
|
|
55
55
|
"publishConfig": {
|
|
56
56
|
"access": "public"
|
|
57
57
|
},
|
|
58
|
-
"gitHead": "
|
|
58
|
+
"gitHead": "92455c6021abd69548496a450983d89f8837860d"
|
|
59
59
|
}
|
package/src/ConfigurationEditorWidget/components/__snapshots__/ConfigurationEditor.test.js.snap
CHANGED
|
@@ -761,7 +761,7 @@ exports[`ConfigurationEditor widget renders with defaults of the PileupTrack sch
|
|
|
761
761
|
class="MuiFormLabel-root MuiInputLabel-root MuiInputLabel-formControl MuiInputLabel-animated MuiInputLabel-shrink MuiFormLabel-filled"
|
|
762
762
|
data-shrink="true"
|
|
763
763
|
>
|
|
764
|
-
|
|
764
|
+
maxFeatureScreenDensity
|
|
765
765
|
</label>
|
|
766
766
|
<div
|
|
767
767
|
class="MuiInputBase-root MuiInput-root MuiInput-underline MuiInputBase-formControl MuiInput-formControl"
|
|
@@ -770,13 +770,49 @@ exports[`ConfigurationEditor widget renders with defaults of the PileupTrack sch
|
|
|
770
770
|
aria-invalid="false"
|
|
771
771
|
class="MuiInputBase-input MuiInput-input"
|
|
772
772
|
type="number"
|
|
773
|
-
value="
|
|
773
|
+
value="0.3"
|
|
774
774
|
/>
|
|
775
775
|
</div>
|
|
776
776
|
<p
|
|
777
777
|
class="MuiFormHelperText-root MuiFormHelperText-filled"
|
|
778
778
|
>
|
|
779
|
-
maximum
|
|
779
|
+
maximum features per pixel that is displayed in the view, used if byte size estimates not available
|
|
780
|
+
</p>
|
|
781
|
+
</div>
|
|
782
|
+
</div>
|
|
783
|
+
<div
|
|
784
|
+
class="makeStyles-slotModeSwitch"
|
|
785
|
+
/>
|
|
786
|
+
</div>
|
|
787
|
+
<div
|
|
788
|
+
class="MuiPaper-root makeStyles-paper MuiPaper-elevation1 MuiPaper-rounded"
|
|
789
|
+
>
|
|
790
|
+
<div
|
|
791
|
+
class="makeStyles-paperContent"
|
|
792
|
+
>
|
|
793
|
+
<div
|
|
794
|
+
class="MuiFormControl-root MuiTextField-root"
|
|
795
|
+
>
|
|
796
|
+
<label
|
|
797
|
+
class="MuiFormLabel-root MuiInputLabel-root MuiInputLabel-formControl MuiInputLabel-animated MuiInputLabel-shrink MuiFormLabel-filled"
|
|
798
|
+
data-shrink="true"
|
|
799
|
+
>
|
|
800
|
+
fetchSizeLimit
|
|
801
|
+
</label>
|
|
802
|
+
<div
|
|
803
|
+
class="MuiInputBase-root MuiInput-root MuiInput-underline MuiInputBase-formControl MuiInput-formControl"
|
|
804
|
+
>
|
|
805
|
+
<input
|
|
806
|
+
aria-invalid="false"
|
|
807
|
+
class="MuiInputBase-input MuiInput-input"
|
|
808
|
+
type="number"
|
|
809
|
+
value="1000000"
|
|
810
|
+
/>
|
|
811
|
+
</div>
|
|
812
|
+
<p
|
|
813
|
+
class="MuiFormHelperText-root MuiFormHelperText-filled"
|
|
814
|
+
>
|
|
815
|
+
maximum data to attempt to download for a given track, used if adapter doesn't specify one
|
|
780
816
|
</p>
|
|
781
817
|
</div>
|
|
782
818
|
</div>
|
|
@@ -18,7 +18,8 @@ export default class RefNameAliasAdapter
|
|
|
18
18
|
return results
|
|
19
19
|
.trim()
|
|
20
20
|
.split('\n')
|
|
21
|
-
.
|
|
21
|
+
.filter(f => !!f && !f.startsWith('#'))
|
|
22
|
+
.map(row => {
|
|
22
23
|
const [refName, ...aliases] = row.split('\t')
|
|
23
24
|
return { refName, aliases }
|
|
24
25
|
})
|