<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
	<channel>
		<title><![CDATA[Forex Software — Bug: Validate then generate fails to continue]]></title>
		<link>https://forexsb.com/forum/topic/9324/bug-validate-then-generate-fails-to-continue/</link>
		<atom:link href="https://forexsb.com/forum/feed/rss/topic/9324/" rel="self" type="application/rss+xml" />
		<description><![CDATA[The most recent posts in Bug: Validate then generate fails to continue.]]></description>
		<lastBuildDate>Thu, 05 Jan 2023 10:14:33 +0000</lastBuildDate>
		<generator>PunBB</generator>
		<item>
			<title><![CDATA[Re: Bug: Validate then generate fails to continue]]></title>
			<link>https://forexsb.com/forum/post/73012/#p73012</link>
			<description><![CDATA[<p>&gt; if your settings file is set to validate then generate, but there are no collections in the input folder, the process stops.</p><p>This is an expected behaviour because the option is <strong>validate</strong>TheGenerate</p><p>If there is no input collection, it would be generateThenGenerate <img src="https://forexsb.com/forum/img/smilies/smile.png" width="15" height="15" alt="smile" /></p><p>&gt; If you set validate then generate to false, but leave your input directory defined (not commented out), it still stops, saying there are no collections available.</p><p>It will work if there are collections under the &quot;./collection&quot; folder. It will raise an error in the other case. <br />Express Generator uses the &quot;--input&quot; option to switch between the &quot;Generate&quot; and &quot;Validate&quot; modes.</p><p>&gt; Currently, you&#039;d have to generate a collection first, then go back and change the settings file to include it in a validate then generate workflow.</p><p>The best way to generate strategies with some options and to validate them with other options is to set your workflow in a &quot;.cmd&quot; file under windows or a&nbsp; &quot;.sh&quot;&nbsp; file under macOS or Linux.</p>]]></description>
			<author><![CDATA[null@example.com (Popov)]]></author>
			<pubDate>Thu, 05 Jan 2023 10:14:33 +0000</pubDate>
			<guid>https://forexsb.com/forum/post/73012/#p73012</guid>
		</item>
		<item>
			<title><![CDATA[Bug: Validate then generate fails to continue]]></title>
			<link>https://forexsb.com/forum/post/72916/#p72916</link>
			<description><![CDATA[<p>Hi Mr Popov<br />Possibly a bug and a minor inconvenience - if your settings file is set to validate then generate, but there are no collections in the input folder, the process stops.</p><div class="codebox"><pre><code>input = ./collections/
validate_then_generate = true</code></pre></div><p><span style="color:red"><em>Stops with message: There are no loaded collection records!</em></span></p><p>If you set validate then generate to false, but leave your input directory defined (not commented out), it still stops, saying there are no collections available.</p><div class="codebox"><pre><code>input = ./collections/
validate_then_generate = false</code></pre></div><p><span style="color:red"><em>Stops with message: There are no loaded collection records!</em></span></p><div class="codebox"><pre><code>;;input = ./collections/
validate_then_generate = false</code></pre></div><p><span style="color:green"><em>Continues to generate normally</em></span></p><p>Currently, you&#039;d have to generate a collection first, then go back and change the settings file to include it in a validate then generate workflow.</p><p>If there are no collections available to re-validate, can it just continue to generate a new collection instead of stopping?</p><p>Thanks.</p>]]></description>
			<author><![CDATA[null@example.com (timelleston)]]></author>
			<pubDate>Wed, 28 Dec 2022 01:19:58 +0000</pubDate>
			<guid>https://forexsb.com/forum/post/72916/#p72916</guid>
		</item>
	</channel>
</rss>
