@teselagen/ove 0.3.49 → 0.3.51

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@teselagen/ove",
3
- "version": "0.3.49",
3
+ "version": "0.3.51",
4
4
  "main": "./src/index.js",
5
5
  "exports": {
6
6
  ".": {
@@ -13,12 +13,12 @@
13
13
  "node": "16.20.2"
14
14
  },
15
15
  "dependencies": {
16
- "@teselagen/sequence-utils": "0.3.10",
16
+ "@teselagen/sequence-utils": "0.3.12",
17
17
  "@teselagen/range-utils": "0.3.7",
18
- "@teselagen/ui": "0.3.37",
18
+ "@teselagen/ui": "0.3.38",
19
19
  "@teselagen/file-utils": "0.3.9",
20
20
  "@teselagen/bounce-loader": "0.3.11",
21
- "@teselagen/bio-parsers": "0.4.2",
21
+ "@teselagen/bio-parsers": "0.4.5",
22
22
  "@blueprintjs/core": "3.52.0",
23
23
  "@blueprintjs/datetime": "3.23.19",
24
24
  "@blueprintjs/icons": "3.33.0",
@@ -79,7 +79,9 @@ function addHighlightedDifferences(alignmentTracks) {
79
79
  if (track.isUnmapped) {
80
80
  return track;
81
81
  }
82
- const sequenceData = tidyUpSequenceData(track.sequenceData);
82
+ const sequenceData = tidyUpSequenceData(track.sequenceData, {
83
+ doNotRemoveInvalidChars: true
84
+ });
83
85
  const matchHighlightRanges = getRangeMatchesBetweenTemplateAndNonTemplate(
84
86
  alignmentTracks[0].alignmentData.sequence,
85
87
  track.alignmentData.sequence
@@ -179,7 +181,9 @@ export default (state = {}, { payload = {}, type }) => {
179
181
  {
180
182
  //add the template seq as the first track in the Pairwise Alignment Overview
181
183
  ...templateSeq,
182
- sequenceData: tidyUpSequenceData(templateSeq.sequenceData),
184
+ sequenceData: tidyUpSequenceData(templateSeq.sequenceData, {
185
+ doNotRemoveInvalidChars: true
186
+ }),
183
187
  alignmentData: { sequence: templateSeq.sequenceData.sequence } //remove the gaps from the template sequence
184
188
  }
185
189
  ]; // start with just the template seq in there!
@@ -213,7 +217,9 @@ export default (state = {}, { payload = {}, type }) => {
213
217
  const alignedSeqMinusInserts = {
214
218
  ...alignedSeq,
215
219
  sequenceData: {
216
- ...tidyUpSequenceData(alignedSeq.sequenceData),
220
+ ...tidyUpSequenceData(alignedSeq.sequenceData, {
221
+ doNotRemoveInvalidChars: true
222
+ }),
217
223
  sequence: template.sequenceData.sequence
218
224
  },
219
225
  additionalSelectionLayers,
@@ -283,7 +283,7 @@ function VectorInteractionHOC(Component /* options */) {
283
283
  }
284
284
  }
285
285
  ),
286
- { annotationsAsObjects: true }
286
+ { doNotRemoveInvalidChars: true, annotationsAsObjects: true }
287
287
  );
288
288
 
289
289
  if (
@@ -314,7 +314,7 @@ function VectorInteractionHOC(Component /* options */) {
314
314
  this.handleDnaDelete(false);
315
315
  onCut(
316
316
  e,
317
- tidyUpSequenceData(seqData, { annotationsAsObjects: true }),
317
+ tidyUpSequenceData(seqData, { doNotRemoveInvalidChars: true,annotationsAsObjects: true }),
318
318
  this.props
319
319
  );
320
320
  document.body.removeEventListener("cut", this.handleCut);
@@ -160,7 +160,7 @@ export const handleSave =
160
160
  saveHandler &&
161
161
  saveHandler(
162
162
  opts,
163
- tidyUpSequenceData(sequenceData, { annotationsAsObjects: true }),
163
+ tidyUpSequenceData(sequenceData, { doNotRemoveInvalidChars: true,annotationsAsObjects: true }),
164
164
  props,
165
165
  updateLastSavedIdToCurrent
166
166
  );
@@ -869,7 +869,7 @@ function jsonToJson(incomingJson) {
869
869
  return JSON.stringify(
870
870
  omit(
871
871
  cleanUpTeselagenJsonForExport(
872
- tidyUpSequenceData(incomingJson, { annotationsAsObjects: false })
872
+ tidyUpSequenceData(incomingJson, { doNotRemoveInvalidChars: true,annotationsAsObjects: false })
873
873
  ),
874
874
  [
875
875
  "sequenceFragments",
package/style.css CHANGED
@@ -9594,7 +9594,7 @@ body:not(.drag-active)
9594
9594
  }
9595
9595
  .rt-td.isEditingCell.isDropdownCell {
9596
9596
  padding: 0;
9597
- max-height: 24px;
9597
+ /* max-height: 24px; */
9598
9598
  }
9599
9599
 
9600
9600
  .tg-dropdown-cell-edit-container .bp3-tag-input .bp3-button {