Commit d62aa947 authored by Paul Graydon's avatar Paul Graydon

erp5_wendelin: Update DataArray dtype and shape

See merge request nexedi/wendelin!163
parents 67361ad7 f68a615e
......@@ -80,8 +80,8 @@
<string>my_reference</string>
<string>my_version</string>
<string>my_publication_section_list</string>
<string>my_array_dtype</string>
<string>my_array_shape</string>
<string>your_array_dtype</string>
<string>your_array_shape</string>
</list>
</value>
</item>
......
......@@ -8,7 +8,7 @@
<dictionary>
<item>
<key> <string>id</string> </key>
<value> <string>my_array_dtype</string> </value>
<value> <string>your_array_dtype</string> </value>
</item>
<item>
<key> <string>message_values</string> </key>
......@@ -197,6 +197,10 @@
<key> <string>alternate_name</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>autocomplete</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>css_class</string> </key>
<value> <string></string> </value>
......@@ -219,7 +223,7 @@
</item>
<item>
<key> <string>editable</string> </key>
<value> <int>1</int> </value>
<value> <int>0</int> </value>
</item>
<item>
<key> <string>enabled</string> </key>
......@@ -235,7 +239,7 @@
</item>
<item>
<key> <string>hidden</string> </key>
<value> <int>1</int> </value>
<value> <int>0</int> </value>
</item>
<item>
<key> <string>input_type</string> </key>
......
......@@ -8,7 +8,7 @@
<dictionary>
<item>
<key> <string>id</string> </key>
<value> <string>my_array_shape</string> </value>
<value> <string>your_array_shape</string> </value>
</item>
<item>
<key> <string>message_values</string> </key>
......@@ -116,13 +116,19 @@
<key> <string>alternate_name</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>autocomplete</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>css_class</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>default</string> </key>
<value> <string></string> </value>
<value>
<persistent> <string encoding="base64">AAAAAAAAAAI=</string> </persistent>
</value>
</item>
<item>
<key> <string>description</string> </key>
......@@ -195,6 +201,10 @@
<key> <string>alternate_name</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>autocomplete</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>css_class</string> </key>
<value> <string></string> </value>
......@@ -217,7 +227,7 @@
</item>
<item>
<key> <string>editable</string> </key>
<value> <int>1</int> </value>
<value> <int>0</int> </value>
</item>
<item>
<key> <string>enabled</string> </key>
......@@ -233,7 +243,7 @@
</item>
<item>
<key> <string>hidden</string> </key>
<value> <int>1</int> </value>
<value> <int>0</int> </value>
</item>
<item>
<key> <string>input_type</string> </key>
......@@ -269,4 +279,17 @@
</dictionary>
</pickle>
</record>
<record id="2" aka="AAAAAAAAAAI=">
<pickle>
<global name="TALESMethod" module="Products.Formulator.TALESField"/>
</pickle>
<pickle>
<dictionary>
<item>
<key> <string>_text</string> </key>
<value> <string>python: here.getArrayShape()</string> </value>
</item>
</dictionary>
</pickle>
</record>
</ZopeData>
......@@ -93,7 +93,7 @@ js: https://cdn.plot.ly/plotly-latest.min.js
%% js
hateoas_url = &quot;https://softinst133633.host.vifib.net/erp5/web_site_module/renderjs_runner/hateoas/&quot;;
hateoas_url = &quot;https://softinst133633.host.vifib.net/erp5/web_site_module/default_wendelin_front/hateoas/&quot;;
jio = jIO.createJIO({
&nbsp; type: &quot;erp5&quot;,
&nbsp; url: hateoas_url,
......@@ -293,7 +293,7 @@ plot();</code>
<p>For that change the line :</p>
<pre>
<code>hateoas_url = &quot;https://softinstXXX.host.vifib.net/erp5/web_site_module/renderjs_runner/hateoas/&quot;;
<code>hateoas_url = &quot;https://softinstXXX.host.vifib.net/erp5/web_site_module/default_wendelin_front/hateoas/&quot;;
</code></pre>
<p>The script will find automatically find the resampled arrays based on the Data Product&nbsp;and plot the data using&nbsp;<a href="https://plotly.com/">plotly library</a>.</p>
......@@ -420,7 +420,7 @@ js: https://cdn.plot.ly/plotly-latest.min.js
%% js
hateoas_url = &quot;${base_url}/web_site_module/renderjs_runner/hateoas/&quot;;
hateoas_url = &quot;${base_url}/web_site_module/default_wendelin_front/hateoas/&quot;;
jio = jIO.createJIO({
&nbsp; type: &quot;erp5&quot;,
&nbsp; url: hateoas_url,
......
......@@ -2106,7 +2106,7 @@ js: https://cdn.plot.ly/plotly-latest.min.js
%% js
hateoas_url = &quot;https://softinst133633.host.vifib.net/erp5/web_site_module/renderjs_runner/hateoas/&quot;;
hateoas_url = &quot;https://softinst133633.host.vifib.net/erp5/web_site_module/default_wendelin_front/hateoas/&quot;;
jio = jIO.createJIO({
&nbsp; type: &quot;erp5&quot;,
&nbsp; url: hateoas_url,
......@@ -2228,7 +2228,7 @@ function getPredictionData(start_date, stop_date){
<p>&nbsp;</p>
<pre>
<code>hateoas_url = &quot;https://softinstXXX.host.vifib.net/erp5/web_site_module/renderjs_runner/hateoas/&quot;;
<code>hateoas_url = &quot;https://softinstXXX.host.vifib.net/erp5/web_site_module/default_wendelin_front/hateoas/&quot;;
</code></pre>
<p>&nbsp;</p>
......@@ -2298,7 +2298,7 @@ js: https://cdn.plot.ly/plotly-latest.min.js
%% js
hateoas_url = &quot;${base_url}/web_site_module/renderjs_runner/hateoas/&quot;;
hateoas_url = &quot;${base_url}/web_site_module/default_wendelin_front/hateoas/&quot;;
jio = jIO.createJIO({
&nbsp; type: &quot;erp5&quot;,
&nbsp; url: hateoas_url,
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment