User Tools

Site Tools


parameters

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
parameters [2018/05/10 00:39]
dmitry
parameters [2019/03/13 21:30] (current)
dmitry
Line 1: Line 1:
 ===== Project parameters ===== ===== Project parameters =====
  
-Parameters can be used to parametrize ​actions and expressions instead of file names in export/​import actions and instead of constants in expressions (e.g. multipliers and ratios). See [[syntax:​|expression syntax]] for using parameters in expressions.+Parameters can be used to parameterize ​actions and expressions instead of file names in export/​import actions and instead of constants in expressions (e.g. multipliers and ratios). See [[syntax:​|expression syntax]] for using parameters in expressions.
  
-Parameters are global for a project, which means that they are available for all tables. ​Value of a parameter is the same for all tables. Changing a parameter value doesn'​t ​automatically ​discard transformation results, but all new calculations will use the new value (where applicable).+Parameters are global for a project, which means that they are available for all tables. ​The value of a parameter is the same for all tables. Changing a parameter value automatically ​(if Auto-run is on) causes recalculation of all actions that use the parameter.
  
 === Parameter editor === === Parameter editor ===
Line 10: Line 10:
 === Parameter types === === Parameter types ===
 Parameters can be of several types: Parameters can be of several types:
-  * **Text or number** +  * **Text or number** ​- the entered text treated as a number if it looks like a number, or as a text value otherwise 
-  * **File ​name** - this parameter type is just like text parameter but for convenience the input box has buttons for opening file browser and triggering absolute/​relative paths +  * **File ​path** - this parameter type can be used to provide ​file location. It has buttons for opening ​the file browser and triggering absolute/​relative paths
-  * **Date** - it's a number parameter that supposed to indicate a date that can be chosen using a date picker (calendar)+  * **Folder name** - this parameter type can be used to provide a folder location. It has a button for opening the folder browser. 
 +  * **Date** - it's a number parameter that is supposed to indicate a date that can be chosen using a date picker (calendar)
   * **Calculated parameter** can be calculated using [[syntax:​start|expressions]]. Such expressions can refer to another parameters (calculated or not) but not to field names as parameters are global exist on the project level. Calculated parameters are evaluated automatically before running a project or calculating a transformation.   * **Calculated parameter** can be calculated using [[syntax:​start|expressions]]. Such expressions can refer to another parameters (calculated or not) but not to field names as parameters are global exist on the project level. Calculated parameters are evaluated automatically before running a project or calculating a transformation.
  
-=== Full project runs === +=== Project overview ​=== 
-All non-calculated ​parameters ​are prompted on full project runs -- i.ewhen running ​project with all transformations not calculated (e.gright after opening ​project) ​or when performing Reload and Run.+Besides the Parameter editor, all parameters ​can be viewed and edited in the Project overview sidebar. 
 + 
 +=== EasyMorph Launcher === 
 +[[https://​easymorph.com/​scheduler.html|EasyMorph Launcher]] allows creating and running ​tasks with the same project ​but with different parameter valuesIt can automatically prompt parameter values on every run. 
 + 
 +=== EasyMorph Server === 
 +[[https://​easymorph.com/​server.html|EasyMorph Server]] also allows running projects with different set of parameter values, ​or prompt parameter values on every run.
  
 === Command line execution === === Command line execution ===
-Parameter values can be defined ​from command line. Defining parameters is optional. If a parameter isn'​t ​defined ​then its default value is used. Calculated parameters can't be defined ​from command line. Also new parameters can't be created ​from command line. See [[command_line|command line syntax]] for more details.+Parameter values can be provided ​from the command line, if needed. If a parameter ​value isn'​t ​provided ​then its default value is used. Calculated parameters can't be defined from command line. See the [[command_line|command line syntax]] for more details.
  
 === Read also === === Read also ===
-  * [[http://​easymorph.com/​learn/​parameters.html|Turtorial:​ Parameters]]+  * [[https://​easymorph.com/​learn/​parameters.html|Turtorial:​ Parameters]]
parameters.1525912780.txt.gz · Last modified: 2018/05/10 00:39 by dmitry