<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">
	<title type="html"><![CDATA[Forex Software — Bug: Validate then generate fails to continue]]></title>
	<link rel="self" href="https://forexsb.com/forum/feed/atom/topic/9324/" />
	<updated>2023-01-05T10:14:33Z</updated>
	<generator>PunBB</generator>
	<id>https://forexsb.com/forum/topic/9324/bug-validate-then-generate-fails-to-continue/</id>
		<entry>
			<title type="html"><![CDATA[Re: Bug: Validate then generate fails to continue]]></title>
			<link rel="alternate" href="https://forexsb.com/forum/post/73012/#p73012" />
			<content type="html"><![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>]]></content>
			<author>
				<name><![CDATA[Popov]]></name>
				<uri>https://forexsb.com/forum/user/2/</uri>
			</author>
			<updated>2023-01-05T10:14:33Z</updated>
			<id>https://forexsb.com/forum/post/73012/#p73012</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Bug: Validate then generate fails to continue]]></title>
			<link rel="alternate" href="https://forexsb.com/forum/post/72916/#p72916" />
			<content type="html"><![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>]]></content>
			<author>
				<name><![CDATA[timelleston]]></name>
				<uri>https://forexsb.com/forum/user/14044/</uri>
			</author>
			<updated>2022-12-28T01:19:58Z</updated>
			<id>https://forexsb.com/forum/post/72916/#p72916</id>
		</entry>
</feed>
