[chimerax-users] Error "Cannot determine format for"
Elaine Meng
meng at cgl.ucsf.edu
Thu Oct 8 08:01:58 PDT 2020
Hi Mikael,
The first one is definitely wrong because you should not include the square brackets in the command. They are shown in usage descriptions to indicate optional arguments, as explained here:
<http://rbvi.ucsf.edu/chimerax/docs/user/commands/usageconventions.html>
Make sure the pathname is correct. Maybe you cannot specify the drive in the pathname (the "C:") ... however, I'm on Mac and can't test this directly, but the other developers would know. You could try specifying pathname without drive to see where it goes. On Mac, this works to put a file on the Desktop under my home directory:
save ~/Desktop/blah.png super 4 transparent true
As in my example, you can just specify format with filename suffix (e.g. "k.png") instead of using the format option, but using the format option like you did should also be OK.
I hope this helps,
Elaine
-----
Elaine C. Meng, Ph.D.
UCSF Chimera(X) team
Department of Pharmaceutical Chemistry
University of California, San Francisco
> On Oct 8, 2020, at 12:41 AM, Karjalainen, Mikael <mikael.p.karjalainen at jyu.fi> wrote:
>
> Hi!
> I am trying to get transparent background in png pictures, but it is not working and I get error “Cannot determine format for". Only way to get this is by using command line? I am writing something like:
>
> save C:\Users\a\Desktop\k [ format png ] [ supersample 4 ] [ transparentBackground true ]
>
> or
>
> save C:\Users\a\Desktop\k format png supersample 4 transparentBackground true
> Also, I have tried different variations.
> Regards,
> Mikael
More information about the ChimeraX-users
mailing list