"""Help text for Relations YAML file."""
from __future__ import absolute_import, division, print_function, unicode_literals

RELATIONS_HELP = '''\
# This file is a representation of relations between samples in
# '{collection_name}' collection.
#
# To upload relations back to Genialis platform, use the following
# command:
#
#     <collection>.import_relations(<path_to_this_file>)
#
# Any existing relation can be updated and change will reflect on the
# platform. But be aware that `_id` key of the relation must be keeped,
# otherwise new relations will be created instead of updating an
# existing one.
#
# Below are listed all samples from this collections, among which you
# can define relationships. We envisioned three types of relations that
# are needed to describe relatioships between samples in experments and
# are used in bioinformatic analysis. These are: 'compare', 'group', and
# 'series'.
#
# To compare sample with its background, you can add addition label to
# the 'compare' relationship:
#
#     compare:
#       background:
#         - background: <sample_2>
#           sample: <sample_1>
#	      - background: <sample_4>
#           sample: <sample_3>
#
# Compare relation is also envisioned for differential expression
# analyses by adding a casee-control label:
#
#      compare:
#       case-control:
#         - case:
#           - <sample_1>
#	        - <sample_2>
#	        - <sample 3>
#         - control:
#           - <sample_4>
#		    - <sample_5>
#		    - <sample_6>
#
# If you want to create new relation of type 'group' that contains 2
# samples, add:
#
#     group:
#       - samples:
#           - <sample_1>
#           - <sample_2>
#
# Use of 'group' relation is envisioned for process where you need to
# specify more groups of replicates. For example this can be used in
# processes as is cuffnorm:
#
#     group:
#	    replicates:
#         - samples:
#            - <sample_1>
#            - <sample_2>
#            - <sample_3>
#         - samples:
#            - <sample_4>
#            - <sample_5>
#            - <sample_6>
#         - samples:
#            - <sample_4>
#            - <sample_5>
#
# To add relation where position of samples is important (i.e.
# 'time-series'), the 'series' can be used:
#
#     series:
#       time-series:
#         - beginning: <sample_1>
#         - end: <sample_2>
#
# Labels and positions are optional and can be used in any combination,
# but are required to enable some functionalities, i.e. to automatically
# get the sample background, 'background' label must be assigned to the
# 'sample' and 'background' positions.
#
# NOTE: `_id` key that can be seen in existing relations should be
#       omitted for new relations.

'''

@@ -1106,25 +1106,27 @@
 %3Csample_1%3E%0A#
-%09
+   
       - back
@@ -1349,32 +1349,34 @@
 se:%0A#           
+  
 - %3Csample_1%3E%0A#%09 
@@ -1373,17 +1373,21 @@
 ple_1%3E%0A#
-%09
+     
         
@@ -1404,17 +1404,17 @@
 2%3E%0A#
-%09
+ 
         
 - %3Cs
@@ -1401,32 +1401,36 @@
 le_2%3E%0A#         
+    
 - %3Csample 3%3E%0A#  
@@ -1436,17 +1436,17 @@
         
--
+ 
  control
@@ -1440,32 +1440,34 @@
       control:%0A#
+  
            - %3Csa
@@ -1475,18 +1475,25 @@
 ple_4%3E%0A#
-%09%09
+         
     - %3Cs
@@ -1506,10 +1506,17 @@
 5%3E%0A#
-%09%09
+         
     
@@ -1888,9 +1888,11 @@
 p:%0A#
-%09
+   
     
@@ -1929,32 +1929,33 @@
 s:%0A#            
+ 
 - %3Csample_1%3E%0A#  
@@ -1944,32 +1944,33 @@
   - %3Csample_1%3E%0A#
+ 
             - %3Cs
@@ -1971,32 +1971,33 @@
   - %3Csample_2%3E%0A#
+ 
             - %3Cs
@@ -2019,32 +2019,33 @@
     - samples:%0A#
+ 
             - %3Cs
@@ -2058,32 +2058,33 @@
 4%3E%0A#            
+ 
 - %3Csample_5%3E%0A#  
@@ -2073,32 +2073,33 @@
   - %3Csample_5%3E%0A#
+ 
             - %3Cs
@@ -2133,32 +2133,33 @@
 s:%0A#            
+ 
 - %3Csample_4%3E%0A#  
@@ -2148,32 +2148,33 @@
   - %3Csample_4%3E%0A#
+ 
             - %3Cs

Update help text for export_relations function