From ab373e07893f9463ec81c27f6ea368ea63e39ae8 Mon Sep 17 00:00:00 2001
From: Jeremy Nicklas <jnicklas@osc.edu>
Date: Wed, 3 Jan 2018 12:54:29 -0500
Subject: [PATCH] remove erb from code comments

Fixes #4
---
 CHANGELOG.md   | 3 +++
 submit.yml.erb | 9 ++++-----
 2 files changed, 7 insertions(+), 5 deletions(-)

diff --git a/CHANGELOG.md b/CHANGELOG.md
index 86e88e8..8ed2e13 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -5,6 +5,9 @@ The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/)
 and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.html).
 
 ## [Unreleased]
+### Fixed
+- Remove ERB from YAML comments to avoid possible crash.
+  [#4](https://github.com/OSC/bc_example_jupyter/issues/4)
 
 ## 1.0.0 - 2017-11-15
 ### Added
diff --git a/submit.yml.erb b/submit.yml.erb
index 9b8c6ff..27da4d3 100644
--- a/submit.yml.erb
+++ b/submit.yml.erb
@@ -24,9 +24,8 @@ batch_connect:
 # Configure the job script submission parameters for the batch job here
 # @see http://www.rubydoc.info/gems/ood_core/OodCore/Job/Script
 #
-
-# Example for Slurm
-#
-# @example Specify nodes with specific features for all jobs
 #script:
-#  native: [ "-N", "<%= bc_num_slots.blank? ? 1 : bc_num_slots.to_i %>", "-C", "c12" ]
+#  queue_name: "queue1"
+#  accounting_id: "account1"
+#  email_on_started: true
+#  native: # ... array of command line arguments ...
-- 
GitLab