Skip to content

Commit

Permalink
minor - strand enum
Browse files Browse the repository at this point in the history
  • Loading branch information
jameshadfield committed Jun 12, 2024
1 parent a537d39 commit 9cf6128
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/util/entropyCreateStateFromJsons.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,7 @@ import { genotypeColors } from "./globals";
import { defaultEntropyState } from "../reducers/entropy";

type JsonAnnotations = Record<string, JsonAnnotation>
// enum Strand {'+', '-'} // other GFF-valid options are '.' and '?'
type Strand = string;
type Strand = "+" | "-"; // note that other GFF-valid options are '.' and '?' but not used in Auspice datasets
type JsonSegmentRange = {start: number, end: number}; // Start is 1-based, End is 1-based closed (GFF)
interface JsonAnnotation {
/* Other properties are commonly set in the JSON structure, but the following are
Expand Down

0 comments on commit 9cf6128

Please sign in to comment.