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: 233
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
Read Message
Previous Topic: extend the Chembl search to RNA
Next Topic: number of visible rows into macro saving variable
Goto Forum:
  


Current Time: Thu Apr 03 19:36:04 CEST 2025

Total time taken to generate the page: 0.04235 seconds