[Loris-dev] Activating the statistics module

Zain Virani zvirani.mcin at gmail.com
Tue May 23 17:10:40 EDT 2017


Hello Ganesh,

There are a few steps we can take to make sure everything is running
smoothly (I will use the instrument name family_info as an example in order
to be as clear as possible):

   1. We need to make sure that the instruments were inserted correctly.
   Under Reports->Statistics->Demographic Statistics, scroll down to the 2nd
   table and open the drop down menu. If you do not see the names of all of
   your instruments there, then that is the issue and you will need to insert
   your instrument in the correct format. Before following the instructions,
   ensure your instrument class name is
   NDB_BVL_Instrument_family_info.class.inc. Then, follow the instructions
   here: https://github.com/aces/Loris/wiki/Instrument-Insertion. For the
   last step be sure to run the assign_missing_instrument.php script as
   opposed to fix_timepoint_date.php. While following these instructions, be
   sure that consistent naming conventions are followed. For example,
   test_names will have an entry where Test_name = family_info. Please ensure
   that this has the exact same name (case and underscore sensitive) as the
   family_info table. The Full Name field can be set to anything. Double check
   this in test_battery and instrument_subtests as well.
   2. If the reports still only show 0s at this point, you should run the
   queries from the script
   modules/statistics/php/NDB_Form_statistics.class.inc manually in your
   database. If the queries return a value different from what is being
   reported, please email me and let me know. If not, then we are done!

Regardless of whether or not these steps work, it will be very helpful to
take a look at the error log. When you get a chance, attempt to access all
4 tabs of the statistics module, and then send me the error log, which is
located at /var/log/apache2/loris-error.log

Feel free to email me with any questions, or if any of these steps don't
work. Good luck!

Zain

On Mon, May 22, 2017 at 12:38 AM, Ganesh Chauhan (CBR) <
ganesh.chauhan at cbr.iisc.ac.in> wrote:

> Dear Zain,
>
> Yes, I am running LORIS version 17.0.2
> Yes, I am getting 0s in all parts of the module (Demographic, Behavioural,
> Reliability and Imaging).
>
> Many thanks for your help.
>
> With best regards,
> Ganesh
>
> ------------------------------
> *From: *"Zain Virani" <zvirani.mcin at gmail.com>
> *To: *"Ganesh Chauhan (CBR)" <ganesh.chauhan at cbr.iisc.ac.in>
> *Cc: *"loris-dev" <loris-dev at bic.mni.mcgill.ca>
> *Sent: *Thursday, May 18, 2017 2:39:06 AM
> *Subject: *Re: [Loris-dev] Activating the statistics module
>
> Hello Ganesh,
> I need a few more details regarding your issue with the statistics module
> in order to determine what's going wrong. I am assuming you are running the
> 17.0 release? If not, please let me know. Additionally, are 0s being
> reported in all parts of the module (Demographic, Behavioural, and Imaging)?
> Thank you for your patience,
>
> Zain Virani
>
> On Wed, May 17, 2017 at 12:48 AM, Ganesh Chauhan (CBR) <
> ganesh.chauhan at cbr.iisc.ac.in> wrote:
>
>> Hi,
>>
>> I am trying to get the statistics module working based on instructions on
>> the following page https://github.com/aces/Loris/wiki/LORIS-Modules.
>> "For example, to configure list of instruments for Behavioural
>> statistics, copy NDB_Menu_statistics_site.class.inc from
>> modules/statistics/php/libraries to project/libraries, and populate "var
>> $instruments = array(...)" with instrument names."
>>
>> Hence I copied the file and made the following changes:
>>
>>     var $instruments    = array(
>> 'family_info',
>> 'anthropometry',
>> );
>>
>>
>> After doing all this, all values appear as zero ("0") on the front-end
>> webpage. I have created two instruments called "family_info" and
>> "anthropometry". I am able to start the visit of the person and enter the
>> data for the various instruments.
>>
>> Many thanks for your help.
>>
>> With best regards,
>> Ganesh
>>
>> --
>> Ganesh Chauhan (PhD)
>> Scientist
>> Centre for Brain Research (CBR)
>> Indian Institute of Science (IISc)
>> Bengaluru, INDIA
>> +91 80 2293 3009 <+91%2080%202293%203009>
>> https://www.cbr.iisc.ac.in
>>
>>
>> --
>> This message has been scanned for viruses and
>> dangerous content by *MailScanner* <http://www.mailscanner.info/>, and
>> is
>> believed to be clean.
>>
>> _______________________________________________
>> Loris-dev mailing list
>> Loris-dev at bic.mni.mcgill.ca
>> http://www.bic.mni.mcgill.ca/mailman/listinfo/loris-dev
>>
>>
>
> --
> Ganesh Chauhan (PhD)
> Scientist
> Centre for Brain Research (CBR)
> Indian Institute of Science (IISc)
> Bengaluru, INDIA
> +91 80 2293 3009 <+91%2080%202293%203009>
> https://www.cbr.iisc.ac.in
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.bic.mni.mcgill.ca/pipermail/loris-dev/attachments/20170523/fdfad517/attachment.html>


More information about the Loris-dev mailing list