Skip to content

Commit

Permalink
Fix paths
Browse files Browse the repository at this point in the history
  • Loading branch information
dariober committed Jul 31, 2024
1 parent 3f94df4 commit 60c49c6
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 3 deletions.
1 change: 1 addition & 0 deletions src/test/java/samTextViewer/InteractiveInputTest.java
Original file line number Diff line number Diff line change
Expand Up @@ -320,6 +320,7 @@ public void canSaveSession()
InteractiveInput ip = new InteractiveInput(new ConsoleReader(), 1);
ip.processInput("session save -f tmp.yml tr1", proc);
SessionHandler sh = new SessionHandler(new File("tmp.yml"));
Files.deleteIfExists(new File("tmp.yml").toPath());
}

@Test
Expand Down
8 changes: 5 additions & 3 deletions test_data/session.yaml
Original file line number Diff line number Diff line change
@@ -1,19 +1,21 @@
## MEMO: For testing use relative paths so they work locally and on github

- sessionName: "no-fastafile"
lastRead: "2024-07-27T12:17:21.176154"
genome:
samSeqDictSource: "/home/dario/git_repos/ASCIIGenome/test_data/ds051.actb.bam"
samSeqDictSource: "test_data/ds051.actb.bam"
chrom: "chr7"
from: 80
to: 1001
fastaFile: null
tracks:
ds#1:
filename: "/home/dario/git_repos/ASCIIGenome/test_data/ds051.actb.bam"
filename: "test_data/ds051.actb.bam"
type: "tracks.TrackPileup"
colour: "blue"
awk: ""
ds#2:
filename: "/home/dario/git_repos/ASCIIGenome/test_data/ds051.actb.bam"
filename: "test_data/ds051.actb.bam"
type: "tracks.TrackReads"
colour: "0"
awk: ""
Expand Down

0 comments on commit 60c49c6

Please sign in to comment.