[AMBER] Paths with spaces in cpptraj

From: Mark Mackey via AMBER <amber.ambermd.org>
Date: Fri, 25 Aug 2023 16:40:29 +0000

Dear AMBER developers,

I've been trying to use cpptraj with some files with a space in the path name. I've been unable to get this to work at all:

> parm /tmp/path space/acetone.prmtop
  [parm /tmp/path space/acetone.prmtop]
Error: '/tmp/path': No such file or directory
Error: Could not open topology '/tmp/path'

> parm "/tmp/path space/acetone.prmtop"
  [parm "/tmp/path space/acetone.prmtop"]
Error: '/tmp/path': No such file or directory
Error: Could not open topology '/tmp/path'
Error: 'space/acetone.prmtop': No such file or directory
Error: Could not open topology 'space/acetone.prmtop'

> parm /tmp/path\ space/acetone.prmtop
  [parm /tmp/path\ space/acetone.prmtop]
Error: Bad syntax (unbalanced parentheses, unmatched quotes.
Error: '/tmp/path\' corresponds to no files.

> parm /tmp/path\\ space/acetone.prmtop
  [parm /tmp/path\\ space/acetone.prmtop]
Error: '/tmp/path\': No such file or directory
Error: Could not open topology '/tmp/path\'

> parm "/tmp/path\ space/acetone.prmtop"
  [parm "/tmp/path\ space/acetone.prmtop"]
                Reading '/tmp/path space/acetone.prmtop' as Amber Topology
Error reading topology file '/tmp/path space/acetone.prmtop'
Error: Could not open topology '/tmp/path space/acetone.prmtop'

The last one looks like it nearly worked, but not quite! Any suggestions? If this can't be done, can I please add this as a feature request?

Regards,
Mark

Mark Mackey
Chief Scientific Officer
Cresset
New Cambridge House, Bassingbourn Road, Litlington, Cambridgeshire, SG8 0SS, UK
Tel: +44 (0)1223 858890 Mobile: +44 (0)7595099165
Email: mark.mackey.cresset-group.com<mailto:mark.mackey.cresset-group.com> Web: www.cresset-group.com<http://www.cresset-group.com/>
[cid:image001.png.01D9D77B.3BDBF380]<https://www.linkedin.com/company/cresset> [cid:image002.png.01D9D77B.3BDBF380] <https://www.twitter.com/cressetgroup>
 [Email Signature 412 x 165px (002).png] <https://www.cresset-group.com/subscribe/>



This email has been sent from Cresset BioMolecular Discovery Limited, registered in England and Wales, Company Number: 04151475. The information in this email and any attachments are confidential and may be privileged. It is intended solely for the addressee and access to this email by anyone else is unauthorised. If an addressing or transmission error has misdirected this email, please notify the author by replying to this email. If you are not the intended recipient you must not use, disclose, distribute, store or copy the information in any medium. Although this e-mail and any attachments are believed to be free from any virus or other defect which might affect any system into which they are opened or received, it is the responsibility of the recipient to check that they are virus-free and that they will in no way affect systems and data. No responsibility is accepted by Cresset BioMolecular Discovery Limited for any loss or damage arising in any way from their receipt, opening or use. Privacy notice<https://www.cresset-group.com/privacy/>


_______________________________________________
AMBER mailing list
AMBER.ambermd.org
http://lists.ambermd.org/mailman/listinfo/amber

image001.png
(image/png attachment: image001.png)

image002.png
(image/png attachment: image002.png)

image003.png
(image/png attachment: image003.png)

Received on Fri Aug 25 2023 - 10:00:02 PDT
Custom Search