Skip to content

Commit

Permalink
Bugfix: incorrectly binary file name used in entrypoint and build
Browse files Browse the repository at this point in the history
  • Loading branch information
isaacguerreir committed Oct 14, 2021
1 parent 39abb40 commit 4305de5
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 3 deletions.
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ COPY go.mod ./
COPY go.sum ./
RUN go mod download
COPY *.go ./
RUN go build -o /annotator
RUN go build -o /synthesizable
COPY entrypoint.sh /entrypoint.sh
RUN chmod +x /entrypoint.sh
ENTRYPOINT ["/entrypoint.sh"]
2 changes: 1 addition & 1 deletion entrypoint.sh
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/bin/sh -l

echo $1 $2 $3 $4 $5 $6 $7 $8
eval "/annotator -i $1 -o $2 -r $3 -u $4 -p $5 -c $6 -s $7 -a $8"
eval "/synthesizable -i $1 -o $2 -r $3 -u $4 -p $5 -c $6 -s $7 -a $8"
1 change: 0 additions & 1 deletion synthesizable.go
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,6 @@ func Script(inputDir string, outputDir string, pattern string, isAlert bool, use
func checkAndAlert(infos []SeqInfo) {
haveProblems := false
for _, info := range infos {
fmt.Println(info)
if !info.IsSynthesizable {
haveProblems = true
fmt.Printf("The sequence %s can't be synthesized.\nSequence: %s\n\n", info.Name, info.Sequence)
Expand Down

0 comments on commit 4305de5

Please sign in to comment.