From 9027af66fe2d6087a458bbab9b369dc09245fe10 Mon Sep 17 00:00:00 2001
From: Dario Barghini <dario.barghini@inaf.it>
Date: Tue, 21 Jan 2025 13:45:58 +0100
Subject: [PATCH] Update README.md

---
 README.md | 37 +++++++++++++++----------------------
 1 file changed, 15 insertions(+), 22 deletions(-)

diff --git a/README.md b/README.md
index 7c50b83..2db2197 100644
--- a/README.md
+++ b/README.md
@@ -31,28 +31,16 @@ Remember that python (2.7) syntax is mandatory in this file
 
 After configuring the software, make sure you are in the parent directory were the README, LICENSE and MANIFEST files are located
 ```
-ls 
-> LICENSE.txt  MANIFEST.in  README.txt  pysqm  config.py  setup.py
+> ls 
+LICENSE.txt  MANIFEST.in  README.txt  pysqm  config.py  setup.py
 ```
 
-And then run the software.
+And then run the software:
 ```
-python -m pysqm 
+> python -m pysqm 
 ```
 
-The program should find your SQM device and the data adquisition.will start (if it's night-time). 
-
-In some systems, where python3 is the default version of python, you need to specify python2 as the interpreter to use. This is done usually running it as:
-
-```
-python2 -m pysqm
-```
-
-or
-
-```
-python2.7 -m pysqm
-```
+The program should find your SQM device and the data adquisition will start (if it's night-time). 
 
 Note: running the setup.py script is neither tested nor required. The program is currently being redesigned as a normal python package, but at present no setup is required.
 
@@ -65,22 +53,27 @@ After that, the program begins data acdquisition. In each iteration, it checks w
 
 Each N measurements, the main program calls a plotting function to generate a graphical representation of the current nightly data.
 
-
 ### PySQM known issues
 
 Non-ASCII characters are not supported in the config.py file. Please, avoid using 'ñ', accented vowels, etc. 
 In headless systems, such as the Raspberry PI, if you run the program without X, you may suffer from the following fatal error when the program tries to generate the plot:
 
-> This application failed to start because it could not find or load the Qt platform plugin “xcb”.
-> Available platform plugins are: eglfs, kms, linuxfb, minimal, minimalegl, offscreen, xcb.
-> Reinstalling the application may fix this problem.  Aborted (core dumped)
+```
+This application failed to start because it could not find or load the Qt platform plugin “xcb”.
+Available platform plugins are: eglfs, kms, linuxfb, minimal, minimalegl, offscreen, xcb.
+Reinstalling the application may fix this problem.  Aborted (core dumped)
+```
 
 In order to avoid this problem, you need to create (or modify if the file exists) in your HOME directory the following file: 
 
+```
 > .config/matplotlib/matplotlibrc
+```
 
 You just need to set the matplotlib backend to Agg:
-> backend : Agg
+```
+backend : Agg
+```
 
 Save the changes and exit. Now, PySQM should make the plots without issues. You may need to restart PySQM to apply the changes.
 
-- 
GitLab