User:Saheb

From ASCEND
Revision as of 10:40, 16 May 2012 by Saheb (talk | contribs)
Jump to navigation Jump to search

I am an undergraduate student from Dhirubhai Ambani Institute of Information and Communication Technology(DA-IICT),Gandhinagar,Gujarat,India.

Code branch: saheb:

Present Goal

I am currently working on implementing the feature of Adding 'smart' default units of measurement in the PyGTK GUI(bug 429). This bug comes under Student_Projects#GUI improvements.

Idea

Present: If there are no preferred units, what is used is base SI dimensions and my task is to display smart intuitive units in place of SI dimensions( i.e. N in place of kg*m/s^2). I will use the units present after the Default value in Default statements for instance in force DEFAULT defvalue{N}, and so will have to store the braced text while parsing through it. So the hierarchy after the feature gets implemented will be:

1) User Defined Units.

2) Preferred Units if present in ascend.ini.

3) Smart Intuitive Default Units.

4) Base Dimensions.

Tasks

- Understanding the working of various layers involved.

- Modify the C Layer code and modify the typedesc struct to get default unit included in it.

- Write a CUnit Code to test the initial modification of C layer code.

- Understand the C++ wrapping and SWIG tool.

- Write C++ functions to get the default unit and then pass it to the PyGTK layer.

- Modify test.py to test the final feature.

I have completed first three tasks and looking forward to quickly achieve the goal.

Bug Solving

I recently submitted patch for (bug 529).Patch is present in the bug reporter, you can check it from the previous link.

Bug 529 - Deleting multiple rows simultaneously from observer tab was a problem, i.e currently when we used to right click after selecting, it used to deselect the selection. Solution was selection should remain static on right clicking and hence user should be able to delete multiple rows simultaneously.It will be quite useful to delete multiple rows after a Study if some rows have failed to solve.