Skip to content

Commit

Permalink
Update phyluce_align_add_missing_data_designators
Browse files Browse the repository at this point in the history
Correct extension problems.
  • Loading branch information
brantfaircloth committed Aug 19, 2015
1 parent 5ff4bc7 commit 603c666
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion bin/align/phyluce_align_add_missing_data_designators
Original file line number Diff line number Diff line change
Expand Up @@ -175,7 +175,8 @@ def add_designators(work):
aln = AlignIO.read(file, input_format)
new_align = add_gaps_to_align(aln, organisms, check_missing, missing, verbatim, min_taxa)
if new_align is not None:
outf = os.path.join(output, os.path.basename(file))
# from carl o.
outf = os.path.join(output, os.path.splitext(os.path.basename(file))[0] + "." + output_format)
AlignIO.write(new_align, open(outf, 'w'), output_format)
return None
else:
Expand Down

3 comments on commit 603c666

@tcosta-f
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I tried to run with these changes but I got the same error #34!

@brantfaircloth
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You could try --no-check-missing. Also, do you need this? It's not required to concatenate data in the next step.

@tcosta-f
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

No, I don't! Is just for curiosity...
I tried add --no-check-missing but was unsuccessful! Maybe there's a problem with my data, however everything else runs properly!

Please sign in to comment.