openmolecules.org

 
Home » DataWarrior » Functionality » macro comments (can non-coding commentaries be included into the DW macros?)
Re: macro comments [message #2324 is a reply to message #2323] Thu, 24 October 2024 21:50 Go to previous messageGo to previous message
nbehrnd is currently offline  nbehrnd
Messages: 224
Registered: June 2019
Senior Member
I support Julio's request with preference for a single-character to start a line comment. Percent sign, ! and C didn't work either. The attempt to introduce visual indentation (because renaming the task name in an editor renders the block useless), either with two explicit spaces per level of indentation like

<macro name="test">
<task name="addSmilesCodes">
structureColumn=Structure
</task>
<task name="calculateCompoundProperties">
  propertyList=totalWeight	logP
  structureColumn=Structure
</task>
</macro>
or with tabulator breaks everything in this indented block, too (a subsequent block without indentation will perform well).
 
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: python usage
Next Topic: polycyclic molecule displaying issue
Goto Forum:
  


Current Time: Fri Nov 22 11:25:03 CET 2024

Total time taken to generate the page: 0.04102 seconds