Skip to content

Commit 19c030b

Browse files
committed
run msbuild
1 parent e5aeea5 commit 19c030b

File tree

87 files changed

+340
-343
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

87 files changed

+340
-343
lines changed

@export/index.d.ts

Lines changed: 18 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,9 @@
55
declare namespace WorkflowRender {
66
module _ {
77
/**
8+
* @param ssid default value Is ``null``.
89
*/
9-
function get_context(): object;
10+
function get_context(ssid?: any): object;
1011
/**
1112
*/
1213
function internal_call(app: any, context: any): object;
@@ -52,8 +53,9 @@ declare namespace WorkflowRender {
5253
}
5354
/**
5455
* @param mounts default value Is ``null``.
56+
* @param ssid default value Is ``null``.
5557
*/
56-
function create_memory_context(mounts?: any): object;
58+
function create_memory_context(mounts?: any, ssid?: any): object;
5759
/**
5860
*/
5961
function definePipeline(seq: any): object;
@@ -73,8 +75,9 @@ declare namespace WorkflowRender {
7375
function dependency_graph(mounts: any): object;
7476
/**
7577
* @param app default value Is ``null``.
78+
* @param ssid default value Is ``null``.
7679
*/
77-
function echo_warning(msg: any, app?: any): object;
80+
function echo_warning(msg: any, app?: any, ssid?: any): object;
7881
/**
7982
*/
8083
function extract_workflow_vertex(meta: any): object;
@@ -83,8 +86,9 @@ declare namespace WorkflowRender {
8386
*/
8487
function filepath_safe(dir: any, filename: any, maxchars?: any): object;
8588
/**
89+
* @param ssid default value Is ``null``.
8690
*/
87-
function finalize(): object;
91+
function finalize(ssid?: any): object;
8892
/**
8993
*/
9094
function get_app_name(app: any): object;
@@ -115,15 +119,17 @@ declare namespace WorkflowRender {
115119
function hook(app: any): object;
116120
/**
117121
* @param outputdir default value Is ``./``.
122+
* @param ssid default value Is ``null``.
118123
*/
119-
function init_context(outputdir?: any): object;
124+
function init_context(outputdir?: any, ssid?: any): object;
120125
invalid_app_target: any;
121126
/**
122127
*/
123128
function pull_configs(): object;
124129
/**
130+
* @param ssid default value Is ``null``.
125131
*/
126-
function result_dir(): object;
132+
function result_dir(ssid?: any): object;
127133
/**
128134
* @param registry default value Is ``null``.
129135
* @param disables default value Is ``Call "list"()``.
@@ -155,13 +161,16 @@ declare namespace WorkflowRender {
155161
*/
156162
function use_cache(filepath: any, create: any): object;
157163
/**
164+
* @param ssid default value Is ``null``.
158165
*/
159-
function workdir_root(): object;
166+
function workdir_root(ssid?: any): object;
160167
/**
161168
* @param relpath default value Is ``null``.
169+
* @param ssid default value Is ``null``.
162170
*/
163-
function workfile(app: any, relpath?: any): object;
171+
function workfile(app: any, relpath?: any, ssid?: any): object;
164172
/**
173+
* @param ssid default value Is ``null``.
165174
*/
166-
function workspace(app: any): object;
175+
function workspace(app: any, ssid?: any): object;
167176
}

man/.get_context.1

Lines changed: 9 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,21 @@
11
.TH .GET_CONTEXT 1 2025-Jun "" "get current workflow environment context"
22
.SH NAME
3-
.get_context \- .get_context()
3+
.get_context \- .get_context(
4+
<i>ssid</i> = <span style='color: blue !important;'>NULL</span>)
45
.SH SYNOPSIS
5-
\fI.get_context()\fR
6+
\fI.get_context(
7+
<i>ssid</i> = <span style='color: blue !important;'>NULL</span>)\fR
8+
.SH OPTIONS
9+
.PP
10+
\fBssid\fB \fR\- NULL.
11+
.PP
612
.SH VALUE
713
.PP
814
the context object which is generated via the ``init_context`` function.
915
.PP
1016
.SH FILES
1117
.PP
12-
SMRUCC/R#.declare_function..get_context at context.R:line 74
18+
SMRUCC/R#.declare_function..get_context at context.R:line 78
1319
.PP
1420
.SH COPYRIGHT
1521
Copyright © xieguigang, MIT Licensed 2025

man/.internal_call.1

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
.TH .INTERNAL_CALL 1 2025-Jun "internal" "@title Invoke an Analysis Application (Internal Function)"
1+
.TH .INTERNAL_CALL 1 2025-Jun "internal" ".internal_call"
22
.SH NAME
33
.internal_call \- .internal_call(app, context)
44
.SH SYNOPSIS
@@ -22,6 +22,10 @@ Invisibly returns `NULL`. The function primarily updates `app$profiler` with exe
2222
.PP
2323
### Key Steps: 1. ​**Dependency Check**: Validates if required context variables and files exist via `check_dependency(app, context)`. - If dependencies are met, proceeds to execute the application. - If dependencies are missing, throws an error with detailed missing resources. 2. ​**Execution**: - Logs start/end timestamps if `options(verbose = TRUE)`. - Executes `app$call` with arguments `app` and `context` using `do.call()`. 3. ​**Error Handling**: - Aggregates missing dependencies into readable error messages. - Calls `throw_err()` to terminate the workflow and report issues. 4. ​**Profiling**: Records total execution time in `app$profiler$time` using `time_span()` for human-readable formatting.
2424
.PP
25+
.SH EXAMPLES
26+
.PP
27+
\dontrun{ # Define a sample application app <- list( name = "demo_analysis", call = function(argv) { print(paste("Running:", argv$app$name)) }, profiler = list() ) # Execute with context .internal_call(app, context = list()) }
28+
.PP
2529
.SH FILES
2630
.PP
2731
SMRUCC/R#.declare_function..internal_call at runner.R:line 57

man/__build_app.1

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -7,10 +7,6 @@ __build_app \- __build_app(f)
77
.PP
88
\fBf\fB \fR\- . the target function f which tagged the required attribute data inside: app, desc, context_env, workfiles
99
.PP
10-
.SH DETAILS
11-
.PP
12-
Build a new workflow app module object based on the custom attribute values that tagged on the target function
13-
.PP
1410
.SH FILES
1511
.PP
1612
SMRUCC/R#.declare_function.__build_app at reflection.R:line 11

man/__runImpl.1

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -5,10 +5,6 @@ __runImpl \- __runImpl(context,
55
.SH SYNOPSIS
66
\fI__runImpl(context,
77
<i>disables</i> = 'list'())\fR
8-
.SH DESCRIPTION
9-
.PP
10-
An internal function that drives the execution of a modular workflow. It sequentially processes analysis modules according to the pipeline configuration while respecting disablement rules.
11-
.PP
128
.SH OPTIONS
139
.PP
1410
\fBcontext\fB \fR\- . A workflow context object containing: \itemize{ \item{pipeline - character vector of module execution order} \item{workflow - list of module definitions} }
@@ -24,6 +20,8 @@ Invisibly returns NULL. Modifies the workflow context object in-place through mo
2420
.PP
2521
This function: \enumerate{ \item Retrieves module execution order from `context$pipeline` \item Checks disablement status through two mechanisms: \itemize{ \item Explicit disablement via `disables` parameter \item Module's own `disable` property (set by upstream modules) } \item Executes non-disabled modules using `.internal_call()` \item Provides verbose logging when `options(verbose=TRUE)` } The workflow context is modified in-place by module execution.
2622
.PP
23+
.SH SEE ALSO
24+
\code{\link{.internal_call}} for module execution logic
2725
.SH FILES
2826
.PP
2927
SMRUCC/R#.declare_function.__runImpl at workflowRender.R:line 76

man/__workfile_uri_parser.1

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ __workfile_uri_parser \- __workfile_uri_parser(uri)
55
\fI__workfile_uri_parser(uri)\fR
66
.SH OPTIONS
77
.PP
8-
\fBuri\fB \fR\- . a character vector that contains the workfile reference expression.
8+
\fBuri\fB \fR\- .
99
.PP
1010
.SH VALUE
1111
.PP

man/__workfiles.1

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
.TH __WORKFILES 1 2025-Jun "" "parse the workfile expression"
1+
.TH __WORKFILES 1 2025-Jun "" "__workfiles"
22
.SH NAME
33
__workfiles \- __workfiles(files.uri)
44
.SH SYNOPSIS

man/app.1

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ app \- app(name, analysis,
1212
\fBname\fB \fR\- . the analysis app name
1313
.PP
1414
.PP
15-
\fBanalysis\fB \fR\- . a callable function for run the data analysis content. The function declare signature for this parameter value required of two parameter signature, see comment document of the ``app_check.delegate`` function.
15+
\fBanalysis\fB \fR\- .
1616
.PP
1717
.PP
1818
\fBdesc\fB \fR\- 'no description'.

man/app_check.delegate.1

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ app_check.delegate \- app_check.delegate(analysis)
55
\fIapp_check.delegate(analysis)\fR
66
.SH OPTIONS
77
.PP
8-
\fBanalysis\fB \fR\- . a callable function to check, just check of the required parameters is exists in the definition or not.
8+
\fBanalysis\fB \fR\- .
99
.PP
1010
.SH DETAILS
1111
.PP

man/app_check.signature.1

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
.TH APP_CHECK.SIGNATURE 1 2025-Jun "" "check of the required app slot"
1+
.TH APP_CHECK.SIGNATURE 1 2025-Jun "" "app_check.signature"
22
.SH NAME
33
app_check.signature \- app_check.signature(app)
44
.SH SYNOPSIS

0 commit comments

Comments
 (0)