lab-biotek-bio-ugm / BIC30007-2

Practical for Bioinformatic Course at Faculty of Biology UGM
MIT License
1 stars 0 forks source link

iPython Image PosixPath issue on Google Colab #6

Closed matinnuhamunada closed 2 years ago

matinnuhamunada commented 2 years ago

Somehow Ipython image function will break if the filename given is of a posixpath. Convert it to string does the trick.

! dotmatcher -windowsize 10 -threshold 35 {data_dir}/AT3G4905.1.genom.fasta {data_dir}/AT3G4905.1.cdna.fasta -graph png -goutfile {output_dir}/02_AT3G4905_strict
Image(filename=str(output_dir / '02_AT3G4905_strict.1.png'))